import { http } from '@/utils/http.js'
// 获取轮播图数据
export const getHomeBannerAPI = (distributionSite = 1) => {
  return http({
    url: '/home/banner',
    method: 'get',
    data: {
      distributionSite
    }
  })
}
// 获取首页分类数据
export const getHomeCategoryAPI = () => {
  return http({
    url: '/home/category/mutli',
    method: 'get'
  })
}
// 获取首页热门数据
export const getHomeHotAPI = () => {
  return http({
    url: '/home/hot/mutli',
    method: 'get'
  })
}
// 猜你喜欢数据
export const getHomeGoodsGuessLikeAPI = (data) => {
  return http({
    method: 'GET',
    url: '/home/goods/guessLike',
    data,
  })
}